---
title: Word document to PDF
summary: Convert a .doc/.docx source to PDF via the Syncfusion Word-to-PDF engine.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-09-17
library: PdfAPI.SyncFusionCore
reference_type: package
operation_id: OP-SFC-003
trigger: Called by ConverterFactory for doc/docx extensions
---

# Word document to PDF

Converts a Word document stream to PDF bytes using the Syncfusion `DocToPDFConverter`, optionally at PDF/A-1b conformance.

| Field | Value |
| --- | --- |
| **Operation ID** | OP-SFC-003 |
| **Trigger** | Called by [Execute a single conversion (converter template)](execute-single-conversion.md) via `WordConverter.ConvertItem`, dispatched from [Convert a source document to PDF](convert-source-document-to-pdf.md) for `doc`/`docx` |
| **Inputs** | Source `Stream`, `ConvertRequest` |
| **Outputs** | PDF `byte[]` |
| **Primary components** | `WordConverter.ConvertItem` |
| **Entry point** | `PdfApi.SyncFusionCore\Convert\WordConverter.cs` |

## Steps

1. Create a `Syncfusion.DocToPDFConverter.DocToPDFConverter`.
2. When `request.Options.IsPdfa`, set `converter.Settings.PdfConformanceLevel = Pdf_A1B` ([BR-SFC-011](../business-rules.md#br-sfc-011-pdf%2Fa-conformance-level-a1b)).
3. Call `ConvertToPDF(stream)` and save the resulting document into a `MemoryStream`; return
   `ms.ToArray()`.
   - The Syncfusion document produced by `ConvertToPDF` is not disposed on this path.*

## Process flow

The following diagram visualizes this operation's control flow.

```mermaid
flowchart TD
	Start(["ConvertItem called<br>with stream, request"]) --> Create[Create DocToPDFConverter]
	Create --> PdfaCheck{"Options.IsPdfa?"}
	PdfaCheck -->|Yes| SetConf["Set PdfConformanceLevel<br>= Pdf_A1B"]
	PdfaCheck -->|No| ConvertDoc[ConvertToPDF stream]
	SetConf --> ConvertDoc
	ConvertDoc --> Save[Save to MemoryStream]
	Save --> Return([Return PDF bytes])
```

## Failure and edge-case behavior

- Any Syncfusion conversion failure surfaces as an exception, which is caught by
  [Execute a single conversion (converter template)](execute-single-conversion.md) and turned into a failed `PdfResult` rather than propagated here.

## Related documentation
- [Operations and processes](../operations-processes.md)
- [Business rules](../business-rules.md)

> **Note:** Statements marked with * were inferred from code structure, naming conventions, or
> contextual evidence where direct confirmation was not available in source artifacts.

## Sources
- `PdfApi.SyncFusionCore\Convert\WordConverter.cs`
